package com.gitee.sys.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gitee.mybase.top.entity.BaseDict;
import com.gitee.mybase.top.entity.SysDept;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chengkaimao
 * @since 2018-11-17
 */
public interface ISysDeptService extends IService<SysDept> {

    IPage<SysDept> getPage(long current, long size, SysDept sysDept);

    int saveDept(SysDept sysDept);

    int updateDept(SysDept sysDept);

    int delDept(String deptCode);

}
